package vek.GUI.Infoview;

import java.awt.Dimension;
import javax.swing.JButton;

/**
 * This class is a JButton which is shown on the KeyBoardPanel (or String if needed)
 * This class is used solely so that the JButton can easily be changed in a apperance or function if needed.
 * @author Christian, Michal og Jakob (Hold 1, gruppe 2)
 */
public class KeyBoardButton extends JButton{
    
    /**
     * 
     * @param s the string which is shown on this button, for example "A" or "Z"
     * @param size the size of this button
     */
    
    public KeyBoardButton(String s, Dimension size)
    {
        super(s);
        setPreferredSize(size);  
    }

}
